﻿namespace Traffic.Entity;

/// <summary>
/// 查找航班记录
/// </summary>
public partial class SearchFlightRecord
{
    public int Id { get; set; }

    /// <summary>
    /// 记录类型 1：机票查询  2:机票预约
    /// </summary>
    public int RecordType { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 出发城市
    /// </summary>
    public string? DepCity { get; set; }

    /// <summary>
    /// 到达城市
    /// </summary>
    public string? ArrCity { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 次数
    /// </summary>
    public int Times { get; set; }

    /// <summary>
    /// 搜索日期记录
    /// </summary>
    public string? DateLog { get; set; }

    /// <summary>
    /// 是否已回访
    /// </summary>
    public bool IsChecked { get; set; }

    /// <summary>
    /// 回访人
    /// </summary>
    public string? Checker { get; set; }

    /// <summary>
    /// 回访备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 是否已购买
    /// </summary>
    public bool HasBuy { get; set; }

    /// <summary>
    /// 选择原因 机票价、手续费、会员、航线，不知道。
    /// </summary>
    public string? ChooseReason { get; set; }

    /// <summary>
    /// 购买渠道  小程序、其他
    /// </summary>
    public string? BuyChannel { get; set; }

    /// <summary>
    /// 是否有享受政策
    /// </summary>
    public bool HasOwnChannelPolicy { get; set; }

    /// <summary>
    /// 是否已知道政策
    /// </summary>
    public bool HasKnowPolicy { get; set; }

    /// <summary>
    /// 是否已订车票
    /// </summary>
    public bool HasBuyBusTicket { get; set; }

    /// <summary>
    /// 是否有购买接送服务
    /// </summary>
    public bool HasBuyAppointService { get; set; }

    /// <summary>
    /// 出行目的
    /// </summary>
    public string? GoOutPurpose { get; set; }

    /// <summary>
    /// 未购买原因
    /// </summary>
    public string? NotBuyReason { get; set; }

    /// <summary>
    /// 回访状态：0未回访 1已回访 2可成交 3不可成交 4已成交
    /// </summary>
    public int VisitedState { get; set; }

    /// <summary>
    /// 回访时间
    /// </summary>
    public DateTime? VisitDate { get; set; }
}
